// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
@import '../../common/styles/common.scss';

.requirement-view {
    margin-right: 18px;
    margin-left: 18px;
    padding-left: 6px;
    padding-top: 1vh;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;

    .next-requirement-button-container {
        display: flex;
        flex-direction: column;
        align-self: flex-end;
    }

    .next-requirement-button {
        align-self: flex-end;
        margin-bottom: 1vh;
        margin-top: 1vh;
    }

    .requirement-content {
        @media screen and (width >= 1200px) {
            display: grid;
            grid-template-columns: 1fr 308px;
        }

        padding-left: 32px;

        .main-content {
            margin-top: 10px;
            width: 90%;
            margin-right: 32px;

            h3 {
                @include h3;
            }
        }
    }

    .requirement-context-box {
        width: 308px;
        height: fit-content;
        margin-right: 32px;
        @media screen and (width <= 1200px) {
            width: 100%;
            padding-top: 0;
            margin-bottom: 40px;
            margin-top: 24px;
        }
    }
}

:global(.details-view-spinner) {
    width: 100%;
}

:global(.visual-helper) {
    display: flex;
    padding-top: 1.5vh;
    flex-wrap: wrap;

    :global(.visual-helper-text) {
        padding-right: 0.9vh;
        font-family: $font-family;
        font-size: 14px;
        line-height: 20px;
    }
}

:global(.no-matching-elements) {
    font-weight: bold;
}
